local fk__taikang = fk.CreateSkill {

  name = "fk__taikang",

  attached_skill_name = "fk__taikang_other&",

}

local U = require "packages/utility/utility"


fk__taikang:addEffect(fk.AfterCardUseDeclared, {
  
  refresh_events = {fk.AfterCardUseDeclared},
  can_refresh = function(self, event, target, player, data)
    return target == player and player:getMark("@@fk__taikang-turn") > 0 and data.card.type == Card.TypeBasic
  end,
  on_refresh = function(self, event, target, player, data)
    player.room:setPlayerMark(player, "@@fk__taikang-turn", 0)
    data.additionalEffect = (data.additionalEffect or 0) + 1
  end,
})

return fk__taikang